package com.zretc.news.dao;

import java.util.List;

import com.zretc.news.entity.NewsType;
import com.zretc.tools.PageData;

public interface NewsTypeDao {

	public List<NewsType> getNewsType(String keywords);

	public boolean addNewsType(NewsType newsType);
	
	public boolean delNewsType(int  typeid);

	public NewsType getNewsTypeByName(String typename);
	
	
	public PageData<NewsType> getNewsTypeByPage(int page,int pageSize, String keywords);
	

}
